package com.me.study.source;

import java.util.concurrent.ConcurrentHashMap;

/**
 * ConcurrentHashMap 源码测试
 *
 * @author ME
 * @date 2021/2/2
 */
public class ConcurrentHashMap7Test {

    public static void main(String[] args) {
        // 2031744
        String aaAa = "AaAa";
        String aaBB = "AaBB";
        String bbAa = "BBAa";
        String bBBB = "BBBB";
        ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>(2);
        map.put(aaAa, "1");
        map.put(aaBB, "2");
        map.put(bbAa, "3");
        map.put(bBBB, "4");
    }

}
